from pprint import pprint

import requests
"""
要用完整的url，加上具体的invoke， batch，
"""
response = requests.post(
    "http://localhost:8000/chat_ext/invoke",
    json={'input': {'topic': '狗'}}
)

pprint(response.json())
